package com.wentao.mall.service;

import com.github.pagehelper.PageInfo;
import com.wentao.mall.model.po.Category;
import com.wentao.mall.model.vo.CategoryVo;

import java.util.List;

public interface CategoryService {
    void addCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(Integer id);

    PageInfo listForAdmin(Integer pageNum, Integer pageSize);

    List<CategoryVo> listForCusomer();
}
